package {{packageName}}

// TODO: properly handle custom imports
import java.io._
import java.util.Date

import {{modelPackage}}._

trait DataAccessor {
    // TODO: apiInfo -> apis -> operations = ???
    // NOTE: ??? throws a not implemented exception

{{#apiInfo}}
    {{#apis}}
{{#operations}}
    {{#operation}}
        /**
        * {{{description}}}
        * @return A {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Unit{{/returnType}}
        */
        def {{baseName}}_{{operationId}}({{#allParams}}{{paramName}}: {{{dataType}}}{{^-last}}, {{/-last}}{{/allParams}}): {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Unit{{/returnType}} = ???

    {{/operation}}
{{/operations}}
            {{/apis}}
{{/apiInfo}}
}